package cn.sofwin.day0106.homework;

import java.util.Scanner;

public class Score {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入你的成绩：");
        int score = sc.nextInt();
        if(score >= 90 && score <=100){
            System.out.println("A等");
        }else if(score >= 80){
            System.out.println("B等");
        }else if(score >= 70){
            System.out.println("C等");
        }else if(score >= 60){
            System.out.println("D等");
        }else if(score >= 0){
            System.out.println("E等");
        }else {
            System.out.println("请检查输入是否正确");
        }
    }
}
